#include<iostream>
#include<algorithm>
#include<cmath>
using namespace std;
double a, b, c, d;
int sum;
int main()
{
	cin >> a >> b >> c >> d;
	for (double i = -100.00; i <= 100.00; i += 0.0001) {
		double l = i;
		double r = i +0.0001;
		if ((a * l * l * l +b * l * l + c * l + d) * (a * r * r * r + b *
			r * r + c * r + d) < 0) {
			printf("%.2f ", l);
			sum++;
		}
		if (sum == 3)break;
	}
	return 0;
}